import java.util.Scanner;

public class 注册 {
    public static void main(String[] args) {
        Scanner zc=new Scanner(System.in);
        System.out.println("请输入账号：");
        System.out.println("请输入密码：");
        System.out.println("请确认密码：");
        String zh= zc.next();
        String ma= zc.next();
        String qrma= zc.next();
        if(ma.equals(qrma)){
            System.out.println("注册成功");
        }else {
            System.out.println("注册失败");
        }


    }
}
